package com.joysuch.wwyt.dzhapi.bean;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author JamesZY
 * @since 2021-12-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_bp_job")
@ApiModel(value="BpJob对象", description="")
public class ApiBpJobBean extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "岗位名称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "岗位描述")
    @TableField("DESCRIPTION")
    private String description;

    @ApiModelProperty(value = "人数")
    @TableField("STAFF_COUNT")
    private Integer staffCount;

    @ApiModelProperty(value = "报警模板id")
    private Long alarmTemplateId;

    @ApiModelProperty(value = "报警模板名称")
    private String alarmTemplateName;

    @ApiModelProperty(value = "不同系统同步唯一标识ID")
    private String uniqueId;

    @ApiModelProperty(value = "是否已和人员在岗在位同步数据 默认0 否; 1 是")
    private Boolean locateSync;

    @ApiModelProperty(value = "最小人数")
    private String minPeopleNumber;

    @ApiModelProperty(value = "最大人数")
    private String maxPeopleNumber;

    @ApiModelProperty(value = "风险区域id")
    private Long riskDistrictId;

    @ApiModelProperty(value = "风险区域名称")
    private String riskDistrictName;

    @ApiModelProperty(value = "岗位地点")
    private String site;

    @ApiModelProperty(value = "1显示 44不显示")
    private Integer showState;


}
